package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallOrderCash;
import org.linlinjava.litemall.db.domain.LitemallOrderCashExample;

public interface LitemallOrderCashMapper {
    long countByExample(LitemallOrderCashExample example);

    int deleteByExample(LitemallOrderCashExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LitemallOrderCash record);

    int insertSelective(LitemallOrderCash record);

    LitemallOrderCash selectOneByExample(LitemallOrderCashExample example);

    LitemallOrderCash selectOneByExampleSelective(@Param("example") LitemallOrderCashExample example, @Param("selective") LitemallOrderCash.Column ... selective);

    List<LitemallOrderCash> selectByExampleSelective(@Param("example") LitemallOrderCashExample example, @Param("selective") LitemallOrderCash.Column ... selective);

    List<LitemallOrderCash> selectByExample(LitemallOrderCashExample example);

    LitemallOrderCash selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LitemallOrderCash.Column ... selective);

    LitemallOrderCash selectByPrimaryKey(Integer id);

    LitemallOrderCash selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LitemallOrderCash record, @Param("example") LitemallOrderCashExample example);

    int updateByExample(@Param("record") LitemallOrderCash record, @Param("example") LitemallOrderCashExample example);

    int updateByPrimaryKeySelective(LitemallOrderCash record);

    int updateByPrimaryKey(LitemallOrderCash record);

    int logicalDeleteByExample(@Param("example") LitemallOrderCashExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}